package com.black.app.domain.req.exercise.add;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "AppExerciseActionAddReq", description = "添加动作请求参数")
@Data
public class AppExerciseActionAddReq {
    @ApiModelProperty(value = "分组id")
    @NotNull(message = "{exercisegroup.not.id}")
    private Long gid;

    @ApiModelProperty(value = "系列id")
    @NotNull(message = "{appexerciseseries.not.id}")
    private Long sid;

    @ApiModelProperty(value = "动作名称")
    @NotNull(message = "{exerciseaction.not.name}")
    private String name;

    @ApiModelProperty(value = "锻炼时间")
    private Integer time;

    @ApiModelProperty(value = "重复次数")
    private Integer repeats;

    @ApiModelProperty(value = "图片路径")
    private String imgPath;

    @ApiModelProperty(value = "视频路径")
    private String videoPath;

    @ApiModelProperty(value = "所需会员等级")
    private Integer level;
}
